<?php

/**
 * TimeCardDay form.
 *
 * @package    virtualstore
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class TimeCardDayForm extends BaseTimeCardDayForm
{
  public function configure()
  {
      $this->setWidget('position_id',
                new sfWidgetFormPlain(
                array('value' =>$this->getObject()->getPosition()->getName())));
        unset($this->validatorSchema['position_id']);

        unset($this->widgetSchema['shift_day_id']);
        unset($this->validatorSchema['shift_day_id']);
        $this->setWidget('shift_day_id', new sfWidgetFormInputText());
  }
}
